#ifndef SEGMENTATIONDIALOG_H
#define SEGMENTATIONDIALOG_H

#include <QDialog>
#include "mainapp.h"

class MainApp;

namespace Ui{
    class SegmentationDialog;
}
class SegmentationDialog : public QDialog
{
    Q_OBJECT

public:
    bool    allSegments;
    int     tolerance;
    bool    ready4Seg;
    explicit SegmentationDialog(QDialog *parent = 0, MainApp *_app = 0);
    ~SegmentationDialog();

private slots:
    void on_pushButton_clicked();

private:
    Ui::SegmentationDialog *ui;
    MainApp             *m_MainApp;
};


#endif // SEGMENTATIONDIALOG_H
